﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Wms;
using nERP.Model;
using nERP.Model.So;
using nERP.Model.Bas;

namespace nERP.ViewModel.Wms.SaleOutWarehouseVMs
{
    public partial class SaleOutWarehouseBatchVM : BaseBatchVM<SaleOutWarehouse, SaleOutWarehouse_BatchEdit>
    {
        public SaleOutWarehouseBatchVM()
        {
            ListVM = new SaleOutWarehouseListVM();
            LinkedVM = new SaleOutWarehouse_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class SaleOutWarehouse_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._SaleOutWarehouse._Sale")]
        public string SaleId { get; set; }
        [Display(Name = "_Model._SaleOutWarehouse._Customer")]
        public string CustomerId { get; set; }
        [Display(Name = "_Model._SaleOutWarehouse._InvoicesDate")]
        public DateTime? InvoicesDate { get; set; }
        [Display(Name = "_Model._SaleOutWarehouse._MakeUser")]
        public string MakeUserId { get; set; }
        [Display(Name = "_Model._SaleOutWarehouse._Status")]
        public StatusTypeEnum? Status { get; set; }
        [Display(Name = "_Model._SaleOutWarehouse._Remark")]
        public string Remark { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}